package com.shop.seller.service;

import com.shop.model.ItemCat;
/**
 * 
 * @author Y
 *
 */
public interface ItemCatService {
/**
 * 根据父ID查找，顶级元素父ID为0
 * @param parentid
 * @return
 * @throws Exception
 */
	public  String findItemCatByParentId(Long parentid) throws Exception;
  /**
   *  根据ID查找
   * @param id
   * @return
   * @throws Exception
   */
	public  ItemCat findItemCatById(Long id) throws Exception;
	
}
